TableRowIterator.next

Sets the table's current row to point to the next table row and returns false if no more rows exist.

All table rows referenced by an iterator can be processed within a loop within while (iter.next()) as shown in the example below.

When all rows have been processed by repeated calls to next(), this method returns false and the current row is reset to its original value i.e the current row number before any methods on this TableRowIterator were invoked. If all rows are not processed i.e. this method does not return false, the current row is not reset.

Javascript example:

 var orders = tables.ORDERS;
 var iter = orders.getRows();
 while (iter.next())
 {
   orders.ORDER_VAT.value = orders.ORDER_VALUE.value * vatRate;
 }
 

returns boolean